package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购商信息对象 t_purchaser
 * 
 * @author ruoyi
 * @date 2024-05-22
 */
public class TPurchaser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购商主键 */
    private Long purchaserId;

    /** 采购商编号 */
    @Excel(name = "采购商编号")
    private String purchaserNo;

    /** 采购商名称 */
    @Excel(name = "采购商名称")
    private String purchaserName;

    /** 采购商简介 */
    @Excel(name = "采购商简介")
    private String purchaserDesc;

    /** 采购商用户主键 */
    @Excel(name = "采购商用户主键")
    private Long userId;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 邮编 */
    @Excel(name = "邮编")
    private String zip;

    /** 采购商地址 */
    @Excel(name = "采购商地址")
    private String addr;

    public void setPurchaserId(Long purchaserId) 
    {
        this.purchaserId = purchaserId;
    }

    public Long getPurchaserId() 
    {
        return purchaserId;
    }
    public void setPurchaserNo(String purchaserNo) 
    {
        this.purchaserNo = purchaserNo;
    }

    public String getPurchaserNo() 
    {
        return purchaserNo;
    }
    public void setPurchaserName(String purchaserName) 
    {
        this.purchaserName = purchaserName;
    }

    public String getPurchaserName() 
    {
        return purchaserName;
    }
    public void setPurchaserDesc(String purchaserDesc) 
    {
        this.purchaserDesc = purchaserDesc;
    }

    public String getPurchaserDesc() 
    {
        return purchaserDesc;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setZip(String zip) 
    {
        this.zip = zip;
    }

    public String getZip() 
    {
        return zip;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purchaserId", getPurchaserId())
            .append("purchaserNo", getPurchaserNo())
            .append("purchaserName", getPurchaserName())
            .append("purchaserDesc", getPurchaserDesc())
            .append("userId", getUserId())
            .append("telephone", getTelephone())
            .append("zip", getZip())
            .append("addr", getAddr())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
